package learn.design.patterns.G_Adapter.ObjectAdapter;

import learn.design.patterns.G_Adapter.NewDeviceInterface;
import learn.design.patterns.G_Adapter.OldDevice;

public class Test {
    public static void main(String[] args) {
        OldDevice oldDevice = new OldDevice();
        NewDeviceInterface device = new ObjectAdapter(oldDevice);
        device.newMethod();
    }
}
